<?php
if (!defined('LANG')) exit('FDM');
if (defined('IN_ADMIN')) require(DATA.'language/admin/'.LANG.'.lang.php');
else require(DATA.'language/'.LANG.'.lang.php');
function lang ($type,$key) {
	if (isset($_ENV['FDM']['language'][$type][$key])) return $_ENV['FDM']['language'][$type][$key];
	else exit('Error:Can not read language setting in '.LANG.'=>'.$type.'=>'.$key);
}
?>